
#pragma once
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include "intraface\FaceAlignment.h"


using namespace INTRAFACE;

#ifndef __FACEALIGNMENTWRAPER__
#define __FACEALIGNMENTWRAPER__



class FaceAlignmentWraper
{
public:
	FaceAlignmentWraper();
	~FaceAlignmentWraper();

protected:
	INTRAFACE::FaceAlignment* m_faceAlignment;
	INTRAFACE::XXDescriptor* pxx;

public:
	bool CreateFaceAlignment(const char*);

	float GetFacePoints(unsigned char* imgBgr24, int width,
		int height, int widthstep, FaceFeatureRectangle &faceRect, FacePointsModel* pointModel);

	bool CalculateHeadPose(unsigned char* imgBgr24, int width,int height, int widthstep, FacePointsModel* pointModel);

	void Free();
};



#endif

